package com.yyq.adms.yyb.advance.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.yyq.sos.pojo.BaseEntity;

/**
 * 科技进步 项目获奖
 * @author 杨应滨
 * @2012-12-7
 *
 */
@Entity
@Table(name="stpaper")
public class STPaper extends BaseEntity implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	/**
	 * 项目名称
	 */
	private String projectName;
	
	/**
	 * 获奖级别
	 */
	private String paperStep;//1：国家级；2：省部级；3：集团级；4：局级
	
	/**
	 * 获奖等级
	 */
	private String paperLevel;
	
	/**
	 * 评审机构
	 */
	private String judgeCorporation;
	
	/**
	 * 证书编号
	 */
	private String paperCode;
	
	/**
	 * 获奖人员
	 */
	private String paperPerson;

	/**
	 * 完成单位
	 */
	private String finishedDep;

	/**
	 * 所属平台ID
	 */
	private String belongPlateFormID;

	/**
	 * 报送单位
	 */
	private String sentDep;


	/**
	 * 是否全局可视
	 */
//	private Integer isGlobal;

	/**
	 * 是否有附件
	 */
//	private Integer isHavePatents;

	/**
	 * 是否可用
	 */
	private Integer isEnabled;

	/**
	 * 数据来源
	 */
	private Integer sourceID;

	/**
	 * 是否提交给总部
	 */
//	private Integer isSubmitTop;

	/**
	 * getPaperYear 获奖年度
	 */
	private String belongYear;

	/**
	 * 批注
	 */
	private String endorse;
	
	
	/**
	 * 单位名称
	 */
	private String sentDepName;
	
	public STPaper() {
		super();
	}

	public STPaper(String projectName, String paperStep, String paperLevel,
			String judgeCorporation, String paperCode, String paperPerson,
			String finishedDep, String belongPlateFormID, Integer sourceID,
			Integer isEnabled,String sentDep,
			String belongYear) {
		super();
		this.projectName = projectName;
		this.paperStep = paperStep;
		this.paperLevel = paperLevel;
		this.judgeCorporation = judgeCorporation;
		this.paperCode = paperCode;
		this.paperPerson = paperPerson;
		this.finishedDep = finishedDep;
		this.belongPlateFormID = belongPlateFormID;
		this.sentDep = sentDep;
//		this.isGlobal = isGlobal;
//		this.isHavePatents = isHavePatents;
		this.isEnabled = isEnabled;
		this.sourceID = sourceID;
//		this.isSubmitTop = isSubmitTop;
		this.belongYear = belongYear;
	}

	@Column(name="belongplateformid")
	public String getBelongPlateFormID() {
		return belongPlateFormID;
	}

	@Column(name="getpaperyear")
	public String getBelongYear() {
		return belongYear;
	}

	@Column(name="finisheddep")
	public String getFinishedDep() {
		return finishedDep;
	}

	@Column(name="isenabled")
	public Integer getIsEnabled() {
		return isEnabled;
	}

	
	@Column(name="judgecorporation")
	public String getJudgeCorporation() {
		return judgeCorporation;
	}


	@Column(name="papercode")
	public String getPaperCode() {
		return paperCode;
	}

	@Column(name="paperlevel")
	public String getPaperLevel() {
		return paperLevel;
	}

	@Column(name="paperperson")
	public String getPaperPerson() {
		return paperPerson;
	}

	@Column(name="paperstep")
	public String getPaperStep() {
		return paperStep;
	}

	@Column(name="projectname")
	public String getProjectName() {
		return projectName;
	}

	@Column(name="sourceid")
	public Integer getSourceID() {
		return sourceID;
	}
	
	@Transient
	public String getSentDep() {
		return sentDep;
	}

	public void setSentDep(String sentDep) {
		this.sentDep = sentDep;
	}

	public void setSourceID(Integer sourceID) {
		this.sourceID = sourceID;
	}

	public void setBelongPlateFormID(String belongPlateFormID) {
		this.belongPlateFormID = belongPlateFormID;
	}

	public void setBelongYear(String belongYear) {
		this.belongYear = belongYear;
	}

	public void setFinishedDep(String finishedDep) {
		this.finishedDep = finishedDep;
	}

	public void setIsEnabled(Integer isEnabled) {
		this.isEnabled = isEnabled;
	}

	

	public void setJudgeCorporation(String judgeCorporation) {
		this.judgeCorporation = judgeCorporation;
	}


	public void setPaperCode(String paperCode) {
		this.paperCode = paperCode;
	}

	public void setPaperLevel(String paperLevel) {
		this.paperLevel = paperLevel;
	}

	public void setPaperPerson(String paperPerson) {
		this.paperPerson = paperPerson;
	}

	public void setPaperStep(String paperStep) {
		this.paperStep = paperStep;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	@Column(name="endorse")
	public String getEndorse() {
		return endorse;
	}

	public void setEndorse(String endorse) {
		this.endorse = endorse;
	}

	@Column(name="sentdepname")
	public String getSentDepName() {
		return sentDepName;
	}

	public void setSentDepName(String sentDepName) {
		this.sentDepName = sentDepName;
	}
	

}
